<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table>
    <tr>
        <th colspan="2">我的工作笔记</th>
    </tr>
        <tr>
            <th>标题:</th>
            <th>${list.title}</th>
        </tr>
        <tr>
            <th>内容:</th>
            <th>${list.content}</th>
        </tr>
        <tr>
            <th>类别:</th>
            <th><c:if test="${list.type==1}">技术</c:if>
                <c:if test="${list.type==2}">行政</c:if>
                <c:if test="${list.type==3}">人事</c:if></th>
        </tr>
        <tr>
            <th>日期:</th>
            <th>${list.createDate}</th>
        </tr>
        <tr>
            <th colspan="2"><button onclick=location.href="${pageContext.request.contextPath}/List">返回</button></th>
        </tr>
</table>
</body>
</html>
